Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock A

Total Complexity 51
Dependencies 6
Dependents 0
Total lines 472
Lines of code 225
Logical lines of code 92
Comment lines 194
Methods 23
Properties 6

Methods 23

Method Rating Maintainability Complexity Lines of code
register_block_type()
A
43 10 49
enqueue_data()
S
52 4 23
register_block_type_assets()
S
53 3 28
get_chunks_paths()
S
60 3 12
render_callback()
S
67 3 7
get_routes_from_namespace()
S
60 2 14
register_chunk_translations()
S
61 2 12
__construct()
S
68 2 7
enqueue_assets()
S
68 2 8
parse_render_callback_attributes()
S
78 2 3
get_block_type_script()
S
66 2 8
enqueue_scripts()
S
73 2 5
initialize()
S
63 2 10
get_block_type_editor_script()
S
66 2 8
enqueue_editor_assets()
S
73 2 6
get_block_type_style()
S
74 1 4
get_block_type_supports()
S
82 1 3
get_block_type_attributes()
S
82 1 3
get_block_type_uses_context()
S
82 1 3
get_block_type_render_callback()
S
80 1 3
render()
S
82 1 3
get_block_type()
S
80 1 3
get_block_type_editor_style()
S
82 1 3